<%@ page language="java" contentType="text/html; charset=ISO-8859-1" pageEncoding="ISO-8859-1" %>
<!DOCTYPE html PUBLIC "-//W3C//DTD HTML 4.01 Transitional//EN" "http://www.w3.org/TR/html4/loose.dtd">

<html>
<meta http-equiv="Content-Type" content="text/html; charset=ISO-8859-1">
<head>
	<link rel="stylesheet" type="text/css" href="style.css" />
	<title>Login Page Secure Application</title>
</head>

<body>
<div id="masterContainer">
	
	<div id="headerContainer">
		<img src="../img/shop-logo.jpg"/>
	</div>

	<h3>Login Page Secure Application</h3>
	<% 
		  String error = request.getParameter("error");
		  if (error != null) { 
	%>

	<p style="color: red">Error: <%=error%>.</p>
	<% 
		  } 
		%>
	<form method="post" action="j_security_check">
	<table>
		<tr>
			<td align="right">Username:</td>
			<td align="left"><input type="text" name="j_username" /></td>
		</tr>
		<tr>
			<td align="right">Password:</td>
			<td align="left"><input type="password" name="j_password" /></td>
		</tr>
		<tr>
			<td align="right">&nbsp;</td>
			<td align="left"><input type="submit" value="Log In" /></td>
		</tr>
	</table>
	</form>

</div>
</body>
</html>